/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package conceitosgame.util;

/**
 *
 * @author jeferson
 */
class Cores {
   private int R;
   private int G;
   private int B;
   private int A;

    public Cores() {
    }

    public Cores(int R, int G, int B, int A) {
        this.R = R;
        this.G = G;
        this.B = B;
        this.A = A;
    }

    public int getA() {
        return A;
    }

    public int getB() {
        return B;
    }

    public int getG() {
        return G;
    }

    public int getR() {
        return R;
    }

    public void setA(int A) {
        this.A = A;
    }

    public void setB(int B) {
        this.B = B;
    }

    public void setG(int G) {
        this.G = G;
    }

    public void setR(int R) {
        this.R = R;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Cores other = (Cores) obj;
        if (this.R != other.R) {
            return false;
        }
        if (this.G != other.G) {
            return false;
        }
        if (this.B != other.B) {
            return false;
        }
        if (this.A != other.A) {
            return false;
        }
        return true;
    }
}
